home *** CD-ROM | disk | FTP | other *** search
/ System Booster / System Booster.iso / Archives / StartupTools / PatchMath020.readme < prev    next >
Text File  |  1996-09-26  |  2KB  |  47 lines

  1. Short: Patches executables to use '020+ math instructions
  2. Type: util/misc
  3. Uploader: Mark.Knibbs@lambada.oit.unc.edu
  4.  
  5. PatchMath020
  6.  
  7.    This program "snoops" through other programs looking for 32 bit
  8.    interger multiply, divide and modulus subroutines and replaces
  9.    them with 68020 multiply, divide and modulus instructions.  The
  10.    68000 only has 16 bit multiply and 16 bit divide (divide a 32 bit
  11.    number by a 16 bit number giving a 16 bit result and a 16 bit
  12.    modulus) instructions.  C compilers for the Amiga all generate
  13.    68000 code so they must make subroutine calls to perform full
  14.    32 bit math.
  15.  
  16.    This program recognizes several of these library modules and can
  17.    replace 20 or thirty opcodes with two: the multiply or divide
  18.    followed by RTS.
  19.  
  20.    Programs which use 32 bit math intensively may run significantly
  21.    faster after being treated with PatchMath020.  A few modified
  22.    programs run 2 to 3 times faster than the originals.  A more
  23.    common result is 15 to 20 percent faster due to the fact that
  24.    multiply/divide/modulus is usually a small fraction of the
  25.    instructions executed.  As an example, Sculpt 3D's object editor
  26.    runs 15% faster after being modified by PatchMath020.  Silver
  27.    runs an additional 40% faster.
  28.  
  29.    Note that the program is modified "in place" so be sure to
  30.    make a backup before running PatchMath020 on you program.
  31.    Also note that these modified programs will no longer run on
  32.    normal Amigas.
  33.  
  34. [PatchMath020 was supplied with Hurricane accelerator cards. It works with
  35. many programs, such as SA4D 2.09, Imagine 2.0, etc. It needs to be updated to
  36. recognise the routines used by recent compilers.]
  37.  
  38.  
  39. ============================= Archive contents =============================
  40.  
  41. Original  Packed Ratio    Date     Time    Name
  42. -------- ------- ----- --------- --------  -------------
  43.    13044    6512 50.0% 02-Jan-90 03:10:26  PatchMath020
  44.     1349     653 51.5% 15-Nov-93 11:50:30  PatchMath020.doc
  45. -------- ------- ----- --------- --------
  46.    14393    7165 50.2% 01-Feb-94 22:03:08   2 files
  47.